<?php
	require "conn.php";
	if(isset($_POST['submit'])){
		$user=$_POST['username'];//username：表单的名称
		$pass=md5($_POST['password']);
		$query="insert login(username,password) values('$user','$pass')";
		mysql_query($query);
		header('location:../login.html');
	}
?>